[#ftl]
[#--include "../../util.ftl"/--]


[@define "agile.form.ComboBox" "agile.form._FormSelectWidget"]	
 	category:"ComboBox Component"
	,widgetName:"ComboBox"
	,attributes:lang.delegate(agile.form._FormSelectWidget.prototype.attributes,{
		
		//store:null,
		//query:null,
		//queryOptions:null,
		//onFetch:null,
		//sortByLabel:{type:"boolean",editorClass:"dijit.form.CheckBox",param:{value:true}},
		//loadChildrenOnOpen:false	
		autoComplete:lang.mixin({},agile.BooleanMetadata,{
			label:"i18n_auto_complete"
		})
		,hasDownArrow:lang.mixin({},agile.BooleanMetadata,{
			label:"i18n_has_down_arrow"
		})
	})
	,_getDelegatePrototype:function(){
		agile.requireX("dijit/form/ComboBox");
		return dijit.form.ComboBox.prototype;
	}
	,initDefaultMetadata:function(){
		this.metadata("parameters.autoComplete",true);
		this.metadata("parameters.hasDownArrow",true);
	}
//	,constructor: function(){	
//		this.metadata("parameters.autoComplete",true);
//		this.metadata("parameters.hasDownArrow",true);
//		agile.requireX("dijit/form/ComboBox");
//	}
[/@]
